package com.gkr.shopping.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.gkr.shopping.bean.ArticleType;

public interface ArticleTypeMapper {

	@Select("select * from ec_article_type where length(code) = 4")
	List<ArticleType> findAllFirstArticleType();

	@Select("select * from ec_article_type where code like #{typeCode} and length(code) =8")
	List<ArticleType> findAllSecondArticleTypes(String typeCode);



}